// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef CONTENT_PUBLIC_BROWSER_WORKER_SERVICE_OBSERVER_H_
#define CONTENT_PUBLIC_BROWSER_WORKER_SERVICE_OBSERVER_H_

#include "base/process/process.h"
#include "base/strings/string16.h"

class GURL;

namespace content {

class WorkerServiceObserver {
public:
    virtual void WorkerCreated(const GURL& url,
        const base::string16& name,
        int process_id,
        int route_id) { }
    virtual void WorkerDestroyed(int process_id, int route_id) { }

protected:
    virtual ~WorkerServiceObserver() { }
};

} // namespace content

#endif // CONTENT_PUBLIC_BROWSER_WORKER_SERVICE_OBSERVER_H_
